<?php
/*******************************************************************************
 *
 *  Name: whosonlineview
 *
 *  Date: 05/03/2012
 *  
 *  Description: Shows the list of online user in the sidebar
 *  
 *  Author: Hayden Waisanen
 *  
 *  Todo:
 *     NONE
 *
 *  Modification History:
 * 
 *   Date         Name
 *  ----------   --------------
 *  2012-04-25   HAYDEN WAISANEN
 *  2012-04-23   HAYDEN WAISANEN
 * 
 *****************************************************************************/
?>
<ul id="whosonline">
<?php

foreach( $users as $user )
{
   if($user['UserID'] != NULL)
      echo "<li><a href='mailto:".$user["Email"]."'>".$user["UserID"]."</a></li>";
}
?>
</ul>
